package com.ouyy.volunteerservice.volunteer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ouyy.volunteerservice.volunteer.domain.po.VolunteerRegistration;

import java.util.List;

public interface VolunteerRegistrationService extends IService<VolunteerRegistration> {
    // 可以在这里自定义更多的方法（例如查询某个活动的所有报名信息等）
    public VolunteerRegistration findByActivityIdAndVolunteerId(Integer activityId, Integer volunteerId);


    public List<VolunteerRegistration> findByVolunteerId(Integer volunteerId);
}
